package com.wz.project.bas.supplier.domain;

import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基础供应商管理表 bas_supplier
 * 
 * @author sys
 * @date 2021-10-28
 */
public class Supplier extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String id;
	/** 供应商编号 */
	private String supplierNo;
	/** 供应商组名称（允许为空） */
	private String supplierGroupNo;
	/** 供应商名称（允许为空） */
	private String supplierName;
	/** 供应商简称（允许为空） */
	private String simpleName;
	/** 是否可用（不允许为空） */
	private String useable;
	/** 备注（允许为空） */
	private String remark;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setSupplierNo(String supplierNo) 
	{
		this.supplierNo = supplierNo;
	}

	public String getSupplierNo() 
	{
		return supplierNo;
	}
	public void setSupplierGroupNo(String supplierGroupNo) 
	{
		this.supplierGroupNo = supplierGroupNo;
	}

	public String getSupplierGroupNo() 
	{
		return supplierGroupNo;
	}
	public void setSupplierName(String supplierName) 
	{
		this.supplierName = supplierName;
	}

	public String getSupplierName() 
	{
		return supplierName;
	}
	public void setSimpleName(String simpleName) 
	{
		this.simpleName = simpleName;
	}

	public String getSimpleName() 
	{
		return simpleName;
	}
	public void setUseable(String useable) 
	{
		this.useable = useable;
	}

	public String getUseable() 
	{
		return useable;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierNo", getSupplierNo())
            .append("supplierGroupNo", getSupplierGroupNo())
            .append("supplierName", getSupplierName())
            .append("simpleName", getSimpleName())
            .append("useable", getUseable())
            .append("remark", getRemark())
            .toString();
    }
}
